.loading{
    position:fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background: rgba(0, 0, 0, 0.5);
    /* z-index: 500; */
}

.spin{
    padding: 30px 50px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px; 
    position:fixed;
    left: 47%;
    bottom: 47%;
    z-index: 500;
}